package jge.application;

import jge.renderer.JGERenderDevice;
import jge.renderer.JGERenderer;
import jge.renderer.JGERenderer.RENDERAPI;
import jge.window.JGEWindow;
import jge.window.JGEWindowFactory;
import jge.window.JGEWindowFactory.WINDOWAPI;

public class Application {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		JGEWindow window = JGEWindowFactory.createWindow(WINDOWAPI.AWT, "JGE Application", 800, 600, false);
			
		JGERenderer renderer = new JGERenderer();
		renderer.CreateDevice(RENDERAPI.OPENGL);
		JGERenderDevice device = renderer.GetDevice();
		
		device.Init(window);
		window.setVisible(true);
	}

}
